write conflicts造句
例句與造句
- is not set to 1, then write conflicts could occur if two instances of the execute sql task attempted to write to the table at the same time
不設(shè)置為1,那么如果兩個(gè)“執(zhí)行sql”任務(wù)實(shí)例試圖同時(shí)寫入,則會(huì)發(fā)生表寫入沖突。 - most thread-safety issues arise when multiple threads are trying to modify an object s state concurrently write-write conflicts or when one thread is trying to access an object s state while another thread is modifying it read-write conflicts
大多數(shù)的線程安全問題發(fā)生在當(dāng)多個(gè)線程正在試圖并發(fā)地修改一個(gè)對(duì)象的狀態(tài)(寫-寫沖突)時(shí),或當(dāng)一個(gè)線程正試圖訪問一個(gè)對(duì)象的狀態(tài),而另一個(gè)線程正在修改它(讀-寫沖突)時(shí)。 - most thread-safety issues arise when multiple threads are trying to modify an object s state concurrently write-write conflicts or when one thread is trying to access an object s state while another thread is modifying it read-write conflicts
大多數(shù)的線程安全問題發(fā)生在當(dāng)多個(gè)線程正在試圖并發(fā)地修改一個(gè)對(duì)象的狀態(tài)(寫-寫沖突)時(shí),或當(dāng)一個(gè)線程正試圖訪問一個(gè)對(duì)象的狀態(tài),而另一個(gè)線程正在修改它(讀-寫沖突)時(shí)。 - as long as immutable objects are constructed properly which means not letting the object reference escape from the constructor, they are exempt from the requirement to synchronize access, becuase their state cannot be changed and therefore cannot have write-write or read-write conflicts
只要正確構(gòu)造了不變對(duì)象(這意味著不讓對(duì)象引用從構(gòu)造函數(shù)中轉(zhuǎn)義),就使它們免除了同步訪問的要求,因?yàn)闊o法更改它們的狀態(tài),從而就不可能存在寫-寫沖突或讀-寫沖突。 - for example, if a package can run multiple tasks concurrently, a foreach loop container that enumerates files in the folder, retrieves the file names, and then uses an execute sql task to insert the file names into a table may incur write conflicts when two instances of the execute sql task attempt to write at the same time
例如,如果包可以并發(fā)運(yùn)行多個(gè)任務(wù),那么當(dāng)一個(gè)foreach循環(huán)容器枚舉文件夾中的文件,然后檢索文件名,然后使用執(zhí)行sql任務(wù)將文件名插入表中時(shí),如果在兩個(gè)執(zhí)行sql任務(wù)實(shí)例都試圖同時(shí)寫入,就有可能導(dǎo)致寫入沖突。 - It's difficult to find write conflicts in a sentence. 用write conflicts造句挺難的